﻿<Window x:Class="eWallet.CryptoModuleCreatorWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="" Height="260" Width="340" MinHeight="260" MinWidth="340">
    <Grid>
		<Border Margin="12,12,12,54" Name="border1">
			<Grid>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto" MinHeight="65" />
					<RowDefinition Height="Auto" MinHeight="23" />
				</Grid.RowDefinitions>
				
				<GroupBox Header="Password" Name="PasswordGroup" Grid.Row="0" Visibility="Collapsed">
					<Grid>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto" />
							<RowDefinition Height="Auto" />
						</Grid.RowDefinitions>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>

						<TextBlock Name="PasswordInfoText" Style="{StaticResource InfoText}" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" TextWrapping="Wrap" Tag="A password is needed to access information in the group '{0}'. Please provide the password below.">A password is needed to access information in the group '{0}'. Please provide the password below.</TextBlock>
						
						<Label Grid.Row="1" Grid.Column="0">Password:</Label>
						<PasswordBox Grid.Row="1" Grid.Column="1" Name="PasswordTextbox" />
					</Grid>
				</GroupBox>
				<GroupBox Header="Certificate" Name="CertificateGroup" Grid.Row="1" Visibility="Collapsed">
					
				</GroupBox>
			</Grid>
		</Border>
		
		<CheckBox Height="16" Margin="13,0,0,27" Name="CacheCredentialsCheckbox" VerticalAlignment="Bottom" HorizontalAlignment="Left" ToolTip="Check this checkbox to save the given information for the rest of the time the application is running.">_Remember this information</CheckBox>
		
		<Button Style="{StaticResource DialogButton}" HorizontalAlignment="Right" Margin="0,0,12,12" Name="CancelButton" VerticalAlignment="Bottom" IsCancel="True" Click="CancelButton_Click">_Cancel</Button>
		<Button Style="{StaticResource DialogButton}" Margin="0,0,73,12" Name="OKButton" VerticalAlignment="Bottom" HorizontalAlignment="Right" IsDefault="True" Click="OKButton_Click">_OK</Button>
	</Grid>
</Window>
